package cn.tony.game.super_tank;

import java.awt.Graphics;

import javax.swing.JPanel;

public class WelcomeView extends JPanel {

    private static final long serialVersionUID = -3766724989275902275L;

    public WelcomeView() {
        this.setBounds(0, 0, Game.W, Game.H);
        this.setVisible(true);
    }

    @Override
    protected void paintComponent(Graphics g) {
        g.drawImage(MediaUtils.bg, 0, 0, Game.W, Game.H, this);
    }

}
